package com.zhiyou.brank.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.zhiyou.brank.mapper.FlySchedule;
import com.zhiyou.brank.service.FlyScheduleService;
import com.zhiyou.model.FySchedule;
@Service
public class FlyScheduleServiceImpl implements FlyScheduleService{
@Autowired
FlySchedule flySchedule;
	public List<FySchedule> selectScheduleOne(Integer class_id, String week) {
		// TODO Auto-generated method stub
		return flySchedule.selectScheduleOne(class_id, week);
	}
	@Override
	public List<FySchedule> selectScheduleTwo(Integer class_id) {
		// TODO Auto-generated method stub
		return flySchedule.selectScheduleTwo(class_id);
	}
	@Override
	public void addSchedule(FySchedule fySchedule) {
		flySchedule.addSchedule(fySchedule);
	}
	@Override
	public void updateSchedule(FySchedule fySchedule) {
		flySchedule.updateSchedule(fySchedule);
	}
	@Override
	public void deleteSchedule(Integer schedule_id) {
		flySchedule.deleteSchedule(schedule_id);		
	}

}
